package com.link.base.base.mpconfig.service;

import com.link.base.base.mpconfig.dao.mybatis.mapper.DepartureReportImgMapper;
import com.link.base.base.mpconfig.model.DepartureReportImg;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 小程序离店报告图片
 *
 * @author: 闫有霞
 * @date: 2019/12/19
 */
@Service
public class DepartureReportImgServiceImpl extends BasicServiceImpl<DepartureReportImg> implements DepartureReportImgService {

    @Resource
    private DepartureReportImgMapper departureReportImgMapper;
    
    @Override
    public BasicMapper<DepartureReportImg> getBasicMapper() {
        return departureReportImgMapper;
    }

    @Override
    public void updateValid(DepartureReportImg entity) throws Exception {
        departureReportImgMapper.updateValid(entity);
    }
}

